package com.wipz.eoa.iphone;

import java.util.Map;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.struts2.ServletActionContext;

import com.opensymphony.xwork2.ActionContext;
import com.opensymphony.xwork2.ActionSupport;

/**
 * 
 * @author Biqing Zeng
 * @date 2012-1-13 下午05:48:14
 */
public class BaseAction extends ActionSupport{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	public HttpServletRequest getRequest(){
		 return  ServletActionContext.getRequest(); 
	}
	
	public HttpServletResponse getResponse() {
		return ServletActionContext.getResponse();
	}
	
	public Map getSession() {
		return ActionContext.getContext().getSession();
	}
	
	
}
